import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import ContentTitle from './components/base/ContentTitle.vue';
import echartsBaseOpts from "./assets/js/echartsBaseOpts.js";

import '../element-variables.scss';
import "./assets/css/common.scss";



import {
  Message,
  Menu,
  Submenu,
  MenuItem,
  MenuItemGroup,
  Form,
  FormItem,
  Button,
  Input,
  Row,
  Col,
  RadioGroup,
  RadioButton,
  Tooltip
} from 'element-ui';

Vue.use(Menu);
Vue.use(Submenu);
Vue.use(MenuItem);
Vue.use(MenuItemGroup);
Vue.use(Form);
Vue.use(FormItem);
Vue.use(Button);
Vue.use(Input);
Vue.use(Row);
Vue.use(Col);
Vue.use(RadioGroup);
Vue.use(RadioButton);
Vue.use(Tooltip);

Vue.component('ContentTitle', ContentTitle);

Vue.prototype.$message = Message;
Vue.prototype.$baseOpts = echartsBaseOpts;

Vue.config.productionTip = false;

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount("#app");
